const Index = () => import('@/views/Index/Index')

export default [
  {
    path: '/',
    component: Index
  },
  {
    path: '/goods',
    component: () => import('@/views/Goods/Goods')
  },
  {
    path: '/discount',
    component: () => import('@/views/Discount/Discount'),
    meta: {
      needLogin: true
    }
  },
  {
    path: '/user',
    component: () => import('@/views/User/User'),
    meta: {
      needLogin: true
    }
  }
]
